<?php
    header('Content-type:text/json');
    require "../connection.php";
    $sql = "select * from banner where ban_isshow = 1";
    $result = $conn->doSql($sql);
    echo json_encode($result);



?>